package com.trkj.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.trkj.service.CcHospFloorService;
import com.trkj.vo.Result;

@Controller
public class CcHospFloorController {

	@Autowired
	private CcHospFloorService chfservice;
	
	@RequestMapping("/tocc_chfqueryByAll")
	public @ResponseBody Map<String,Object> chfqueryByAll(int page,int rows){
		return chfservice.queryByAll(page, rows);
	}
	@RequestMapping("/tocc_addchf")
	public @ResponseBody Result addchf(String chfname,String chfshu){
		
		
		return  new Result(true,"操作成功！");
	}
}
